package com.ruoyi.train.domain.Vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;
import java.util.Objects;

public class CertApplicationVo {

    private Long id; // 内部id
    private Long sum; // 申办人数
    private Integer isPass; // 审批是否通过
    private String classTerm; // 培训班期次
    private Long approvalProcessSign; // 审批流程标志;0表示提交申请
    private String applicationUnit; // 申报单位

    private String gaizhang; // 盖章图片
    private String auditSign; // 经办人图片
    private String approvalSign; // 负责人签字
    private String applicationUnitSheet; // 申报单位公章
    private String unitHeader; // 单位负责人（签字）
    private String unitManager; // 单位经办人（签字）
    private String examCertificatePdf; // 考试合格证明表
    private String examApplicationPdf;
    private String trainplanApplication; // 培训计划申请
    private String qualifiedType; // 资格类型

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date sendTime; // 申报时间

    // 办证申请表学生信息
    private List<CertApplicationStudentVo> certApplicationStudentVoList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSum() {
        return sum;
    }

    public void setSum(Long sum) {
        this.sum = sum;
    }

    public Integer getIsPass() {
        return isPass;
    }

    public void setIsPass(Integer isPass) {
        this.isPass = isPass;
    }

    public String getClassTerm() {
        return classTerm;
    }

    public void setClassTerm(String classTerm) {
        this.classTerm = classTerm;
    }

    public Long getApprovalProcessSign() {
        return approvalProcessSign;
    }

    public void setApprovalProcessSign(Long approvalProcessSign) {
        this.approvalProcessSign = approvalProcessSign;
    }

    public String getApplicationUnit() {
        return applicationUnit;
    }

    public void setApplicationUnit(String applicationUnit) {
        this.applicationUnit = applicationUnit;
    }

    public String getGaizhang() {
        return gaizhang;
    }

    public void setGaizhang(String gaizhang) {
        this.gaizhang = gaizhang;
    }

    public String getAuditSign() {
        return auditSign;
    }

    public void setAuditSign(String auditSign) {
        this.auditSign = auditSign;
    }

    public String getApprovalSign() {
        return approvalSign;
    }

    public void setApprovalSign(String approvalSign) {
        this.approvalSign = approvalSign;
    }

    public String getApplicationUnitSheet() {
        return applicationUnitSheet;
    }

    public void setApplicationUnitSheet(String applicationUnitSheet) {
        this.applicationUnitSheet = applicationUnitSheet;
    }

    public String getUnitHeader() {
        return unitHeader;
    }

    public void setUnitHeader(String unitHeader) {
        this.unitHeader = unitHeader;
    }

    public String getUnitManager() {
        return unitManager;
    }

    public void setUnitManager(String unitManager) {
        this.unitManager = unitManager;
    }

    public String getExamCertificatePdf() {
        return examCertificatePdf;
    }

    public void setExamCertificatePdf(String examCertificatePdf) {
        this.examCertificatePdf = examCertificatePdf;
    }

    public String getExamApplicationPdf() {
        return examApplicationPdf;
    }

    public void setExamApplicationPdf(String examApplicationPdf) {
        this.examApplicationPdf = examApplicationPdf;
    }

    public String getTrainplanApplication() {
        return trainplanApplication;
    }

    public void setTrainplanApplication(String trainplanApplication) {
        this.trainplanApplication = trainplanApplication;
    }

    public String getQualifiedType() {
        return qualifiedType;
    }

    public void setQualifiedType(String qualifiedType) {
        this.qualifiedType = qualifiedType;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public List<CertApplicationStudentVo> getCertApplicationStudentVoList() {
        return certApplicationStudentVoList;
    }

    public void setCertApplicationStudentVoList(List<CertApplicationStudentVo> certApplicationStudentVoList) {
        this.certApplicationStudentVoList = certApplicationStudentVoList;
    }


    @Override
    public String toString() {
        return "CertApplicationVo{" +
                "id=" + id +
                ", sum=" + sum +
                ", isPass=" + isPass +
                ", classTerm='" + classTerm + '\'' +
                ", approvalProcessSign=" + approvalProcessSign +
                ", applicationUnit='" + applicationUnit + '\'' +
                ", gaizhang='" + gaizhang + '\'' +
                ", auditSign='" + auditSign + '\'' +
                ", approvalSign='" + approvalSign + '\'' +
                ", applicationUnitSheet='" + applicationUnitSheet + '\'' +
                ", unitHeader='" + unitHeader + '\'' +
                ", unitManager='" + unitManager + '\'' +
                ", examCertificatePdf='" + examCertificatePdf + '\'' +
                ", examApplicationPdf='" + examApplicationPdf + '\'' +
                ", trainplanApplication='" + trainplanApplication + '\'' +
                ", qualifiedType='" + qualifiedType + '\'' +
                ", sendTime=" + sendTime +
                ", certApplicationStudentVoList=" + certApplicationStudentVoList +
                '}';
    }
}
